package org.dtrd.modules.flup.entity.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;
import java.util.List;

/**
 * @author qr
 * @date 2021/12/16 16:46
 */
@ApiModel("医生每日的随访记录")
@Getter
@Setter
public class DoctorFlupDaily {

    @ApiModelProperty(value = "日期, 格式：MM月dd日", example = "12月27日")
    private String date;

    @ApiModelProperty("复诊日期, 便于查询")
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date queryDate;

    @ApiModelProperty("人数")
    private Integer count;

    @ApiModelProperty("患者信息列表")
    private List<PatientFlupInfo> patientFlupInfoList;

    @JsonIgnore
    private boolean isToday = false;

    @ApiModelProperty("出诊状态标记, 1: 待出诊；2: 已出诊 3: 未出诊")
    private Integer status = 2;


}
